<img src="http://127.0.0.1:8080/captcha" width="100" height="100">

<form action="http://127.0.0.1:8080/captcha_check" method="post">
    <p>captcha<input type="text" name="captchaCode"/></p>
    <input type="submit" value="Submit"/>
</form>